Fix bookTable scope