fix some jq function