updated after bug fix in svg.cpp