fix for crashing bug
Merge pull request #3 from brennanMKE/fix-crashing-bug

fix for crashing bug