required fields fix