fix download path change lead to crash.