removes some old crusty code