enable cleanup routines