comment unused code and add ´not found´ error checking to recovery