remove arch specific fiels