revert whole program optimization