fix on curl output string