diff --git a/html/ajax_misc.php b/html/ajax_misc.php
index fb1494896..9ec053a95 100644
--- a/html/ajax_misc.php
+++ b/html/ajax_misc.php
@@ -38,6 +38,9 @@
if ( ! defined('ALLOWED')) define ('ALLOWED',1);
require_once '../include/constant.php';
+global $dirname;
+require_once $dirname."/lib/ac_common.php";
+
global $http;
$http=new HttpInput();
diff --git a/sql/upgrade.sql b/sql/upgrade.sql
index e69de29bb..677e6d77a 100644
--- a/sql/upgrade.sql
+++ b/sql/upgrade.sql
@@ -0,0 +1 @@
+insert into version (val,v_description) values (188,'Filter for VAT id');