Fixed paginations class buttons.