fix reqiured fields