code improvement
bug fix: downloads was not sent in response