always init err state