curl fixes