fix name converting bug