Work on many to many relation bug