remove some redundant kompile steps