fixed issue with validation on user profile