fix var_export