fixed valgrind problem in util::splitCompoundUnit