Fixed bug in lcg-output.