fixed many_many structure