case fix for rmagick