complete delete function
remove redundant table headers