avoid validation error caused by empty SVG paths