getting rid of redundant th file