reverted hack
pagination for teachers