fixes cleanup in .t