Fix name generation sync error