fixed downloading file