take out broken loop