fixed issue with empty form field