fixed problems with rspec