fix required field extraction
fix error message
+ instance for text