reset the ws