fixed rspec error