workaround to get kws compiling