fix really annoying bug where weighted interval was getting parsed instead of interval