encryption type selector now works properly.