fixed a bug in TableField