sometimes server return "" in body, handle that case