minor pagination bug