filter location and name