[CLEAN]planner: clean code.