workaround for bad subrace assertion