added fix for curl