remove ref of old code