fixed issue with validators and empty strings