removing not useful pages