use `detail.isGranted` instead of `detail.remember`