fix plans table