fix tlpeof bit selection in tlp.py