fixed a exception if server return a empty json string.