fixed rspec issue