fix assert disabling