fixed bug in image file