setting header to protected