fix problem of token in Sync