tp system bug fix