g,W did not work correctly