allow mismatched name/class for struct