G E trash compactor

I replaced the motor and gear in my compactor worked fine the 1st week. Replaced the bag and the ram bottoms out and is stripping the new gear on the motor. I cant find a limit switch to keep going to far down.