fixed the issue of extending token access