fixed serious bug, k1->k2