fixes bug in user profile form