bt still hang sometimes, added setting file output