fixed concat, added preprocess