Fix use-after-free error in normalizer
Debug assertion error