reinitializing transaction end positions after restart