improve helper tool performance