fixed cannot load image bug