fix firefox issue (fixes #51)
Merge pull request #68 from scottmeng/fix_firefox_issues

fix firefox issue (fixes #51)