fix send wrong code