Set foreign key 0 to avoid problems