fixed bug with user clearing