fix AssertionError prototype