fix on one to many relationship