bug fix in discussion controller