bug fix in mgr, add encryptionKey to config