fixed typo and cleanup
Merge pull request #1 from phil2k/master

see changelog