drop the sed magic to drop dependency on not-yet-merged upstream changes