fixed precision problem in random OMS