fix protect example