bth: bug fix