fix data errors