rebuild && remove useless files