changes in load_data to allow a proper data cleaning  for plot3