fix directory placing