fix directoyr error