What was the major flaws of wei?