fix problem with Enabled flag when deserializing connections