fix directory changes