Fixed bug crashing menu