Remove an empty loop