fixed downloading issue