bugfix: fixed ws uri checking