mod to case.rb solves issue #85