fixed bus in bst.cc