minor edit to svg, code still NOT clean