fixed cw thanks to twal