replace fix get absolute path with canonical for download method