fixed bug that was preventing downloads