Fixed the format for newly generated names to remove the space before the number