make the relationship types properly