fix bug where belongsTo relation wasn't being saved