resolve symbolic links