cleanup recover.c