fixed bt bug