modify directory path