fixed required fields to prevent some errors