clean up moon_hook