remove contain notebook to window code