fixed S_W