remove target for getModel function