pagination page range fix - closed #45