fixed bug with downloads