Add @text, @tail for attribute selector

returnall defaul valuse is changed to True.