Fix static string in generator template