fixed td-closure bug