bugfixed when stun timeout leadto crash