Fix bug in forum controller