fixed ws preview