fix media download path