Fixed a null image file error