Fix for older LWP versions