Fixed some problems with topic page and edit_topic