Fix config not working for new users

Plugin wasn't working at all for new users thanks to this error