replace options keys with constants