some performance tuning for tie