update for tw
codec bug, sg server fix