fix crash when no active server id is saved