check fields from TS