fix has many should use link model if set