bug fix - no pagination running callback twice