fix crash when you go to /topics/nonexistant