small protection changes