fix for pager onChange