fix bug, name is not used