Fix topic ids