remove some old parsing code