still do not know why msg can not have string value IMapEntry protocol....but made template works !