Fix getIdentity