fix an issue on Jason's machine.
Merge pull request #16 from gcheng/useragentfilter

fix an issue on user agent issue.
Merge pull request #242 from gcheng/dev

Dev