check error setup