remove useless build tree while seed db.