fix oddities in attributes