Fix delete pages