fixed topic parsing