why is this possible? shouldn't the assert on line 191 guard against it?