fixed error "set is not serializable"§
removed obsolete debug logging