Added missing originalCode initialization to the else block