fix invalid json when doing &s=1