fix system message hang