clear attrs