core: fixed the variable name in xml view