update the hsql server embed code, fix some runtime error