fix tag model and type