Minor correction

use len instead of child loop for bus_num