fixing of insert(k)