Remove the extra code

These codes appear in the wrong location, which means line 637 has the same codes.