waitForAttr added