retract to compilable state