fixed bug with bus selection