corrected ImageMagick where ever possible