fix addTrack issue