GE Profile Compactor

The compactor is activated by lifting the foot pedal. It then should go through a complete cycle. Mine will only run if you hold the pedal up. Any suggestions on what repair is needed ?