Fixed critical assert