add a quick protection check