add lines to support svg in plugins