add support to auto insert protocol