fixes issues related to random seeds and legacy loading