fix belongs to many bug