Fixing random cs
Merge pull request #448 from jjanvier/fix/random-cs

Fixing random CS