Fixed entitlements issue

Fixed entitlements issue