Fix to install data for Foreign Key issue