onceFix: fixed infinite loop issue.
Merge pull request #11 from invalidred/onceFix

onceFix: fixed infinite loop issue.