Fixing optimization flag