fix rspec failed