correct error config