Correction for relative paths