repair old parser