correct handling of names input pins