modify log and change basic freq threshold