Fix to RSPEC warnings