updated filter install logic