fix missing kc memory mgmt functions