Fixed ListGenerator

No more pesky , errors