fixed the intermediate file saving hack