editing unnecessary change for foreign key problems