ruby: ti chip clean up