correcting paths for symbolic links