fix dependency in manytoone