fix minor issue in trim_data