remove warnings for rspec