pagination and fixes on docs