fix without curl