fix page highlight in pagination, and fix showall only showing 1 row error.