modified erros about rspec