fix retract