removeing unused references to tie