fix slow paginator problem