removing image optimizations