protect some attributes