modify send topic function;