profile validation fixes