clean up, correct legacy variable name