fixing wss realization