Fixed dataframe to include subject id.