[core] merge tokens