fix FK data type ref