replace fix get absolute path with canonical