fix to m2m relationship