remove unnecessary arch and files