fix required field spec