error handling for answer field added