fixed svg conversion