fixed bug where a bus without a number or a destination crashed the program