cleanup random module nonsense