Removed unnecessary space from generated strings