correct error code