revert optimizacion FLAG