validation of the name