remove assertion that caused range inference to fail