rm useless files before pack