ENH: final fix: clear all regisitries