remove duplicate class attribute in pagination