only delete relevant scale and fix getting image data