fix submission bug