use parameter to control filter from matcher
fix spell error
fix computation and use of empty