remove useless tmp stuff