Fix error variables name