validation message and profile math