Random generator bug fix

Random fixed-
new bug found - read main file for it