add: field_check function to improve algorithm
add: unittest for  operator
fix:  operator
add: handle case where key is not in event