Fix client side downloading