bug fix when the image with a upper-case extname