try to fix float object is not iterable