add hack for inserting path SVG elements