fix arch setting