cleanup notebook