change 'val' to 'num' in existing filters