updated readTB in utils