fixes for loading identities from directory, 0.2.8