notes cleanup