fixed bad regex when catching /ws/