check field name instead of method name.