fixing mp random seeding