filter config for classes