fix returning download path