fixing data errors