Localrecording Cannot read property 'isModerator' of undefined

Hello folks, i just got started using jitsi so i tried to implement the localrecording future as indicated in the docs, where I’ve uncommented it on config.js

localRecording: {

        // Enables local recording.

        // Additionally, 'localrecording' (all lowercase) needs to be added to

        // TOOLBAR_BUTTONS in interface_config.js for the Local Recording

        // button to show up on the toolbar.

        //

        enabled: true,

        //

        // The recording format, can be one of 'ogg', 'flac' or 'wav'.

        format: 'flac'

        //

    },

then appended the TOOLBAR_BUTTONS list with ‘localrecording’

but when I hit the record button those errors kick in

Logger.js:171 2020-06-07T12:22:18.177Z [JitsiMeetJS.js] <Object.getGlobalOnErrorHandler>:  UnhandledError: Uncaught TypeError: Cannot read property 'isModerator' of undefined Script: https://terkea.uksouth.cloudapp.azure.com/libs/app.bundle.min.js?v=139 Line: 142 Column: 2068 StackTrace:  TypeError: Cannot read property 'isModerator' of undefined
    at Object.registerEvents (SessionManager.js:366)
    at Object.startRecording (SessionManager.js:386)
    at _onStart (LocalRecordingInfoDialog.js:193)
    at Object.f (index-min.js:31)
    at _ (index-min.js:31)
    at index-min.js:31
    at S (index-min.js:31)
    at D (index-min.js:31)
    at C (index-min.js:31)
    at O (index-min.js:31)
    at Mn (index-min.js:31)
    at Fn (index-min.js:31)
    at t.unstable_runWithPriority (index-min.js:31)
    at pa (index-min.js:31)
    at bs (index-min.js:31)
    at zn (index-min.js:31)
o @ md5.js:1
index-min.js:31 Uncaught TypeError: Cannot read property 'isModerator' of undefined
    at Object.registerEvents (SessionManager.js:366)
    at Object.startRecording (SessionManager.js:386)
    at _onStart (LocalRecordingInfoDialog.js:193)
    at Object.f (index-min.js:31)
    at _ (index-min.js:31)
    at index-min.js:31
    at S (index-min.js:31)
    at D (index-min.js:31)
    at C (index-min.js:31)
    at O (index-min.js:31)
    at Mn (index-min.js:31)
    at Fn (index-min.js:31)
    at t.unstable_runWithPriority (index-min.js:31)
    at pa (index-min.js:31)
    at bs (index-min.js:31)
    at zn (index-min.js:31)

anyone faced anything similar? i couldn’t find anything related to this error