fix for web socket support