removed rspec warnings