changed end token ids