fix some bug in filter trimLeadingZero