pagination_modify working
fixed an issue with pagination