Check error in initialization