crazy pagination fixed