Fixed the pager not having enough space