fix directory import