Fixed a dependency bug in ar.