add errors for empty fields