fix for Curl