protect client