Fix bug in data table