fixed a bug in name