fix bug wrt iterating currentTopic