change 'pagination' classes to 'pag'