handle deprecated variable names