change the way attrs are located, add missed attr