staff rspec error fixing