Fixed toggleWS with NSP and added mirror