Fixed the small bug when no optimization