make work with gem 1.3.7