fix bug with crash when completing the campaign