fixes on filtering for program locations and methods