Fix name label

Fix the behavior of the name label.