Fix bugs on discussion index