split ws and wamp