fixed last remaining problem in name generation.