move MiscUtils to CommonDevLib