remove rspec warnings