Fixed crash in topics