fixed plan_name issue