Fixed a BT bug