commit to tree flip Issue #147