#1 fix invalid assert