quick fix to setData()