fix K parser problem when same string representation used for different types