removing recursively calling publish