check the data in setData to set a placeholder if needed