fix bug for multi submit