delete all kinds of svg related code