negative tools infinite loops

#479