removed registry dependency