a fix to image()