removed unused amd modules
add token to widget.