fix for userbase, thanks @kanzure