improve performance on LiquidHelper