cleanup: hooks