Inserted the code in the wrong section when patching

Should be fixed now