some bug fixes
Merge pull request #4 from jt6211/threatstream

some bug fixes