BUG: deal with `list index out of range error` (`100.0 != 100`)