remove imagemagick and ghostscript