Fixed bug tstat read runtime