removeIfZero is configurable