cleaning up notebook