fix aggressive code purging