fix relation mass conditions from object