further optimize speed for global export