removing erroneously nested tools