add unified error variables