required field fix