fixed bug in duplicating Random dist obj