just quick fix to stop a null reference from happening in the menu