i would flash your original software so it matches what the ecu is looking for, but if you can't because the ratio is different in the box, extract the ratio information from the new gearbox file and embed it in the old file then reflash and that will fix all your issues.
Thank you for your suggestion, the problem has been solved, thank you again