clean up attr checking errors