fix replay implementation breaking loading games