fixed mistake in topicRepository