fix rspec failures