remove "type" from data frame.