fix VAR decl of CheckExport()