make sure FK are objectid type