make sure normalizeName argument is a string