fixed the imagemagick problem