fix wsm.cmd