Avoid double calculations in Pager