make manyToOne relationship working