Fixed submission bug