Fix bug in locations of data.