fixed bug when user has no set priority