Fixed regression in local copy