curl handler changes