fixed BT connect and first send problems