remove arch stuff