Fixes bug whith user profile validation