Fixed errors in profile form