fixed rspec failures