fix view setData bug