delete pre code portion