fix validation error whan create profile