stocked changes to work with svgpoint