forgein keys fixing