fix bug in topic view template