modify fill-in-topic method