fix occasional crash on startup
Merge pull request #37 from fossfreedom/RB2

fix occasional crash on startup