convert FWS to ZWS or ZWS to FWS