add mode for primitive default to publisher/subscriber