restore previous optimized code