change hooks disable ws