fix path to follow symlinks