pagination, footer + some extra fixes