fix out directory path