fix invalid character for svg convert