Fix bytes decode to string error.