temp fix to pagination