fixed plugin model