[core] remove useless code: don’t delete token position