clearing attributes