multi-level global filter
fix bug in global filer spec type checker