temporary fix for pager to work with ajax n shit