fixed bug when name is empty