destroy all routines