fixbug: if failed and some filed is required, weill failed