Fixing pagination... Worked locally but not on github