Try to fix array out of bounds startup error