fix coremod
fix complie error