make attr check consistent, fix punctuation