fixed bug in user