fix the HUGE image problem