Correct error in error code