major cleanup to compile module TS of KMF4