Fix a problem with fields of another table