bug for insert path ending in expression {n},{s}