add delete class to pages