fix NSAssert wihtout access token causing crash