Added exceptional cases so menu rendering doesnt fail