fix inconsistent variable name