fixed crash if empty topic was loaded without ajaxify