Fixed result submission bug