fixed cw statement