fixing curl download