fix for not mapped relations