fix php/plan_items.html bug