Fixed bug in downloading things