use the highest priority attr
Merge pull request #46 from chamankang/develop

use the highest priority attr