fix longterm directory