leave bug: cache control, memory cost; not test: stop plan