fixed bug in set user