changed filter data to be lowercase