delete directory fix