Have name copied to longname if there is no longname