fix fetch access token from right hash.