fixed entitlement error