Add ugly handler for data error.