Fixed unicode bug when name is None