prepare for kmpUnstuff