Core/model: fixed a variable name