fix topic validation