Fix del attr keyerror
Merge pull request #1 from jsommers/master

Fix del attr keyerror