protection fixes