Fix bug if server return wrong result