fixed old msg persisting issue