convert to  lowercase for validation