fix problem with temporary ds files