fix rspec issue