catching empty string from number field