Fixed bug in bus adapter