implemented paging for #41
fix #41: now we have global settings
bugfix