clientside email validation - fix