bugfix for type specified fields.