Fixed problem with user scope