remove ambiguous null/undefined from belongsTo