Fixed crash if no server