fixes topic construction

according to new api.