fixed a bug during export. variable field can not be found, of course!