fixes in setup + paginate_by removed from view