fixed Attrs bug