remove temp files earlier