fix bug - many-to-many