fix the speed problem of the tie framework