fix for rspec