comment pagination bug fix