add protocol in dict and mappin