ok so thanks to you guys i found the problem

what i done was unplugged the gearbox wire and just as you can see eliminated one at a time trial and error
it turned out to be the brown matches to the brown with white stripe for anybody who has this issue in the future