fix train/test sets