cleaning pagination