fix K calculation
fix K calculation