Correcting directory path