remove calls to deleted function