fix broken `-no-share`