Fix submit generator issue.