add the web-mode and disable some externpacket