fix long names in name list and add 'u' flag