fix arch issue