foreign key can be null