attributes cleaning