fix the crash on launch

Signed-off-by: Arnav Gupta <championswimmer@gmail.com>
Merge pull request #6 from teamOSC/dev

fix the crash on launch