clear attributes