remove dead registry