Fix: pagination did not work