This belongs under maintenance forum below.
Put a 2nd nut on each side to lock the first one down. Torque the first one to about 50 ft lb, the steel in the cheap motors is soft. Counter rotate the 2nd nut to about the same amount.
I tried blue loktite as people suggested, and that procedure was worthless.
Red locktite has to be heated to be removed, and the cable prevents that.
You may have to remove the connector block for the sensor connectors to get a 2nd nut on. I did. Draw the color diagram first. If the white rectangular block, you can push the tangs back on the pins with a steel pick.
You may find your nuts are 14 mm x 1.5 which is pretty common. Those are on MAC. But the off brand ones, the nuts are mostly 14 mm x 1.75 which is weird. You can't buy those at mcmaster or grainger or Oreilly's or Autozone. I found some at a motorcycle shop, but for my second install the new owner had thrown all that trash away. I made two from 12 mm nuts with a tap from victornet.com . You have to drill out the 12 mm threads with a 1/2" drill. Use safety glasses.