fix bit test
rudimentary th