fixed edit issue with entitlement