fix 1:n relationship