fix for required fields showing optional