improve planning getter
define period to display planning
define period to display planning - delete useless stuff