fixed pagination bar length wrong length