fixed the huge image problem