fixed an image bug