get rid of rmagick warnings