[experiment] many bug fixes.