fix the bug that the next step won't check the required fields