Making sure optimization is turned off