fixed bug on editing users