Fixed a bug in preprocessing, and clean data for the first group