proper locals filter