cleanup: tool helpers