fix misplaced retry (debugging)