fixed submission bug