diff --git a/tablefield.module b/tablefield.module
index 3e93149..e68bab3 100644
--- a/tablefield.module
+++ b/tablefield.module
@@ -584,6 +584,7 @@ function tablefield_rebuild_form($form, &$form_state) {
   // Maintain the submitted node values. This is similar
   // to how the node preview works.
   if (isset($form['#node_edit_form'])) {
+    module_load_include('inc', 'node', 'node.pages');
     $node = node_form_submit_build_node($form, $form_state);
   }
 }
