protect bugfix