send_code bug