Fix soft assert