remove old prototype code