fix the data bug