Fixed crash bug on menu load