right pagination

Signed-off-by: Ruben Mendez <ruben.mendez@gmail.com>