fixed issue that caused KeyError on stray colons
Merge pull request #19 from bmuller/prepare_fix

fixed issue that caused KeyError on stray colons