fix to ImageMagick6.8.9