Fixed bug with user profile valitadion