harmonize keys in rays