fixing curl