since you're fixing stuff anyway, this additional `ZU.trimInternal` is unnecessary