fix planner layout when no space left