bug fix for curl
notes
twek