fixed bug with user profile valid