remove '' from filtering conditions