curl downloading fixed