determinism fix