fix stupid assert