fixing clean_baseline-perc (one function for two classes)