fix syntax error
bugfix where there are no topics