image optimization and word wrap bug