Small fix to name generation.