fixed the generator for PLE stuff.