fix portfolio pagination