Fix using pathOfAlias