add `clearAttr`` option fixes #13