replace all the indeirect "new" calls to direct calls