fixed downloading issues