Fixed optimize flag