fix form field empty validation