changed version of mini_magick