should fix #10

bad assert