Fixed bug in refreshing topic page