delete multiple old reference from dead code