recovery from code mess