remove vestigial loop