Fixed warnings in planner.