fix many2many add function