added css well class for relations, fixed empty div