BUG: fixed wrong variable name