warning when required fields are missing