fixed bug in KMC 1D viz