fix arch var