fix arch flag