fix topic slicing